const modulesData = require('../../modules')

let moduleEntryMap = {}
let moduleItem
let entry = ''

for(let key in modulesData) {
  moduleItem = modulesData[key]
  entry = moduleItem.entry.substr(moduleItem.entry.indexOf('src'))
  moduleEntryMap[entry] = moduleItem
}

module.exports = moduleEntryMap
